#pragma once

#include "Application.h"
#include "Task.h"
#include "TimerController.h"
#include "TimerView.h"
#include "TimerService.h"

#define TIMER_APP_TASK "timer_app_task"

class Timer : public Application
{
private:
	TimerController* controller;
	TimerView* view;
public:
	Timer() : Application(TIMER_APP_TASK)
	{
		view = new TimerView();
		controller = new TimerController(this, view);
	};
	virtual void execute();
	virtual void init();
	virtual void suspend();
	virtual void active();
	~Timer()
	{
		delete controller;
		delete view;
	};
};

